package com.tlxch.mapper;

import com.tlxch.pojo.SClass;
import com.tlxch.pojo.ScGrades;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SClassMapper {
    int deleteByPrimaryKey(Integer scId);

    int insert(SClass record);

    int insertSelective(SClass record);

    SClass selectByPrimaryKey(Integer scId);

    int updateByPrimaryKeySelective(SClass record);

    int updateByPrimaryKey(SClass record);

    List<ScGrades> getStuListByTid(String tid);

    SClass getByscgCid(String scgCid);
}